#include <iostream>
#include <vector>
using namespace std;

class Solution 
{
public: // tasks = ["A","C","A","B","D","B"], n = 1
    int leastInterval(vector<char>& tasks, int n) 
	{



    }
};

int main()
{
	vector<char> vc{ 'A','A','A','B','B','B' };
	int a = 2;

	Solution xz;
	int n = xz.leastInterval(vc, a);

	return 0;
}